<%@ taglib prefix="c" uri="http://www.codecoord.com" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://www.codecoord.com/fmt" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/dist/css/layui.css"/>
    <script src="${pageContext.request.contextPath}/static/layui/dist/layui.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/jquery/jquery-1.11.0.js"></script>


    <style>#navbar-default {background-color: #71BD71;}</style>
</head>
<body>
<div class="layui-container">
<%--<div style="height: 10px;"></div>--%>


<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
    <ul class="layui-row layui-tab-title">
        <li class="layui-this layui-col-xs6">会后评价</li>
        <li class="layui-col-xs6" onclick="test()">查看评价</li>
    </ul>
    <div class="layui-tab-content" style="height: 100px;">
        <div class="layui-tab-item layui-show"><jsp:include page="answerform1.jsp"/></div>
        <div id="wo" class="layui-tab-item"></div>
    </div>
</div>

</div>
<script>
function test(){
    $.ajax({ url: "${pageContext.request.contextPath}/answer/list",
        type: "get",
        data:{"appointmentId":'${appointmentId}'},
        dataType:"html",
        success: function(data){
            $("#wo").html(data);
        }});

}
</script>
</body>
</html>
